package cn.com.open.opensaas.answerservice.service.impl;

import cn.com.open.opensaas.answerservice.mapper.PaperContentMapper;
import cn.com.open.opensaas.baiscommon.model.pager.TestPaperContent;
import cn.com.open.opensaas.answerservice.service.PaperContentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PaperContentServiceImpl implements PaperContentService {

    @Autowired
    protected PaperContentMapper paperContentMapper;

    /**
     * 根据Id获取TestPaperContent
     *
     * @param paperId
     * @return
     */
    @Override
    public TestPaperContent findTestPaperById(String paperId) {
        return paperContentMapper.findTestPaperById(paperId);
    }

}